using System.ComponentModel.DataAnnotations;

namespace UniversalAdmin.Application.Dto;

public class UpdateFileDto
{
    [Required(ErrorMessage = "文件名不能为空")]
    [StringLength(255, ErrorMessage = "文件名长度不能超过255个字符")]
    public string FileName { get; set; } = null!;
    
    [StringLength(100, ErrorMessage = "内容类型长度不能超过100个字符")]
    public string? ContentType { get; set; }
} 